
* summary statistics: one versus two term limits

sum rgovexpupdated if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS")
sum logrgovexpupdated if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum taxtotupdated if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum logtaxtotupdated if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum ave if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum growth100 if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum firsttermlameduck if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum firsttermeligible if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum secondtermlameduck if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum stinc if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum stpop if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum aged if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum kids if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum demgov if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum majdemh if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ) 
sum majdems if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum comph if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ) 
sum comps if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum div if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )
sum yrspolexp_new if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" )

* summary statistics: no term limits

sum rgovexpupdated if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum logrgovexpupdated if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum taxtotupdated if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum logtaxtotupdated if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum ave if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum growth100 if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum firsttermeligible  if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum secondtermeligible  if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum stinc if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum stpop if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum aged if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum kids if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum demgov if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum majdemh if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum majdems if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum comph if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum comps if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum div if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960
sum yrspolexp_new if (state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA") & year>=1960

* summary statistics: two term limits

sum rgovexpupdated if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum logrgovexpupdated if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum taxtotupdated if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum logtaxtotupdated if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum ave if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum growth100 if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum firsttermeligible if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum secondtermlameduck if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum stinc if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum stpop if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum aged if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum kids if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum demgov if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum majdemh if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum majdems if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum comph if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum comps if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum div if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960
sum yrspolexp_new if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR") & year>=1960

*** TABLE 4: ONE-TERM LIMITS VS. TWO-TERM LIMITS

* main results

areg logrgovexpupdated firsttermeligible secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) robust
areg logtaxtotupdated firsttermeligible secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust
areg ave firsttermeligible secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear  if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust
areg growth100 firsttermeligible secondtermlameduck stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust

* robustness test: drop incumbent who was in office during term limit law change

areg logrgovexpupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) robust
areg logtaxtotupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) robust
areg ave firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear  if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) robust
areg growth100 firsttermeligibleROBUST secondtermlameduck stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) robust

*** TABLE 5: TWO-TERM LIMITS VS. NO TERM LIMITS

* main results 

areg logrgovexpupdated secondtermlameduck firsttermeligible stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust
areg logtaxtotupdated secondtermlameduck firsttermeligible stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum*  CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust
areg ave secondtermlameduck firsttermeligible stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum*  CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear MEyear NEyear MAyear MNyear NVyear NDyear WIyear TXyear IAyear KSyear SDyear if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA" | state=="ME" | state=="NE" | state=="MA" | state=="MN" | state=="NV" | state=="ND" | state=="WI" | state=="KS" | state=="SD" | state=="IA" | state=="TX"), absorb(stcode) robust
areg growth100 secondtermlameduck firsttermeligible stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum*  CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust

* lost/withdrew

areg logrgovexpupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust
areg logtaxtotupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum*  CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust
areg ave secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum*  CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA" | state=="ME" | state=="NE" | state=="MA" | state=="MN" | state=="NV" | state=="ND" | state=="WI" | state=="KS" | state=="SD" | state=="IA" | state=="TX"), absorb(stcode) robust
areg growth100 secondtermlameduck firsttermeligible lostwithdrew stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum*  CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust

*** ROBUSTNESS TESTS

* South (AL,AR,GA,LA,MS,NC,SC) vs. non-South

areg logrgovexpupdated firsttermeligible firsttermeligiblesouth secondtermlameduck secondtermlameducksouth stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) robust
areg logtaxtotupdated firsttermeligible firsttermeligiblesouth secondtermlameduck secondtermlameducksouth stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust
areg ave firsttermeligible firsttermeligiblesouth secondtermlameduck secondtermlameducksouth stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear  if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust
areg growth100 firsttermeligible firsttermeligiblesouth secondtermlameduck secondtermlameducksouth stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust

* Without party controls 

areg logrgovexpupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) robust
areg logtaxtotupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust
areg ave firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear  if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust
areg growth100 firsttermeligibleROBUST secondtermlameduck stinc stpop yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS" ), absorb(stcode) robust

areg logrgovexpupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust
areg logtaxtotupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust
areg ave secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA" | state=="ME" | state=="NE" | state=="MA" | state=="MN" | state=="NV" | state=="ND" | state=="WI" | state=="KS" | state=="SD" | state=="IA" | state=="TX"), absorb(stcode) robust
areg growth100 secondtermlameduck firsttermeligible lostwithdrew stinc stpop yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) robust

* Clustered standard errors 

areg logrgovexpupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) cluster(stcode)
areg logtaxtotupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) cluster(stcode)
areg ave firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear  if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) cluster(stcode)
areg growth100 firsttermeligibleROBUST secondtermlameduck stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"  ), absorb(stcode) cluster(stcode)

areg logrgovexpupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) cluster(stcode)
areg logtaxtotupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) cluster(stcode)
areg ave secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear MEyear NEyear MAyear MNyear NVyear NDyear WIyear TXyear IAyear KSyear SDyear if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA" | state=="ME" | state=="NE" | state=="MA" | state=="MN" | state=="NV" | state=="ND" | state=="WI" | state=="KS" | state=="SD" | state=="IA" | state=="TX"), absorb(stcode) cluster(stcode)
areg growth100 secondtermlameduck firsttermeligible lostwithdrew stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), absorb(stcode) cluster(stcode)

* P-W with PCSE and AR1

xtpcse logrgovexpupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"), corr(ar1)
xtpcse logtaxtotupdated firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"), corr(ar1)
xtpcse ave firsttermeligibleROBUST secondtermlameduck stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear  if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"), corr(ar1)
xtpcse growth100 firsttermeligibleROBUST secondtermlameduck stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* ALyear FLyear GAyear INyear LAyear MOyear NCyear OKyear PAyear SCyear TNyear WVyear KYyear MSyear if (state=="AL" | state=="FL" | state=="GA" | state=="IN" | state=="LA" | state=="SC" | state=="PA" | state=="WV" | state=="OK" | state=="NC" | state=="TN" | state=="MO" | state=="KY" | state=="MS"), corr(ar1)

xtpcse logrgovexpupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), corr(ar1)
xtpcse logtaxtotupdated secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), corr(ar1)
xtpcse ave secondtermlameduck firsttermeligible lostwithdrew stinc stpop kidsaged demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA" | state=="ME" | state=="NE" | state=="MA" | state=="MN" | state=="NV" | state=="ND" | state=="WI" | state=="KS" | state=="SD" | state=="IA" | state=="TX"), corr(ar1)
xtpcse growth100 secondtermlameduck firsttermeligible lostwithdrew stinc stpop demgov majdems majdemh comps comph div yrspolexp_new yrdum* stcode_dum* CTyear IDyear ILyear NYyear UTyear WAyear DEyear MDyear NJyear OHyear ORyear if year>=1960 & (state=="DE" | state=="MD" | state=="NJ" | state=="OH" | state=="OR" | state=="CT" | state=="ID" | state=="IL" | state=="NY" | state=="UT" | state=="WA"), corr(ar1)

